class Person {
  // 属性
  String name;
  int age;
  double height;
  double weight;
  // 构造函数
  Person(this.name, this.age, this.height, this.weight);

  // 方法
  void show() {
    print("Name: $name, Age: $age, Height: $height, Weight: $weight");
  }

  void study() {
    print("$name is studying");
  }

  void eat() {
    print("$name is eating");
  }

  void sleep() {
    print("$name is sleeping");
  }
}
